@include('common.header')
<style type="text/css">
.bmbox
{
	width:200px; 
	height:135px; 
	background:#F5F5F5; 
	color:#FF0000;
	position:absolute; 
	display:block;
	font:30px/20px "宋体"; 
	font-weight:bold;
	text-align:center;
	padding-top:60px;
	filter:alpha(Opacity=80);-moz-opacity:0.6;opacity: 0.6;

}
</style>	

	
<div class="content clearfix" style="width:80%;margin:0 auto;margin-bottom:10%;" >
	
	
	<!-- 面包屑 -->
	<div class="breadcrumbs">
		<ul>
			<li><a href="{{ url('/') }}">首页</a></li>
			<li>列表</li>
		</ul>
	</div>
	
	
	<div class="left-content">		
		<!-- 列表 -->
		<div class="meals-listing">
			<ul>
				@forelse( $skus as $sku )
				<li class="meal-details">
					<div class="image">
						@if( $sku->is_sold_out==2 )
						<div class="bmbox"  >
							今日已售罄
						</div>
						@else
						@endif
						<img src="{{ $sku->pic_url }}" style="width:200px;" />
					</div>
					<div class="info">
						<div class="descr-holder">
							<h3><a href="single.html">{{ $sku->name }}</a></h3>
							<div class="date_categories">
								标签 : 
								@forelse( $sku->tag_arr as $tag_id=> $tag )
								<a href="{{ url('/tag_listing/') }}/{{ $tag_id }}">{{ $tag }}</a> &nbsp;
								@empty
								@endforelse
							</div>
							<p>{{ $sku->desc }}</p>
						</div>
						<span class="price">${{ $sku->price }}</span>
						<!--
						<a href="check-out.html" class="add-to-cart-button">add to cart</a>
						-->
						<div class="rating-small">
							<div class="rating-small-over" style="width:0%"></div>
						</div>
					</div>
				</li>
				@empty
				@endforelse
			</ul>
			<div style="margin-top:15px;" >
			@if( !is_array( $skus ) )
				{{ $skus->links() }}
			@else
			@endif
			</div>
			
		</div>
	</div>
	
	
	<div class="right-content">	
	
		<!-- 联系方式 -->
		<div class="call-us" >
			联系方式:
			<span class="pop phone" style="font-size:18px;">18801030115</span>
			工作时间:
			<span class="pop" style="font-size:18px;">7:00 - 20:00</span>
		</div>
	</div>	

	
</div>


@extends('common.footer')